package demo5;

import demo4.controller.UserController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.sql.SQLException;

public class Demo {
//    public static void main(String[] args) throws SQLException {
//        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("demo5");
//        Person person = context.getBean(Person.class);
//        System.out.println(person);
//        person.play();
//    }
}
